package com.zmn.oms.zmn.business.interfaces.work;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.dto.work.modify.must.OrderDistributeBackDTO;
import com.zmn.oms.model.vo.work.OrderDistributeBackVO;

/**
 * 类描述：工单派单撤回
 * @author lujia
 * @date 2019/5/22 11:24
 */
public interface OrderWorkDistributeBackBService {

    /**
     * 获取派单撤回VO
     *
     * @param orderId 订单Id
     * @param workId 工单Id
     * @return
     */
    OrderDistributeBackVO getDistributeBackVO(Long orderId, Long workId);

    /**
     * 派单撤回
     *
     * @param distributeBackDTO
     */
    void saveDistributeBack(OrderDistributeBackDTO distributeBackDTO) throws OmsBaseException;

}
